//
//  VoiceReadItemCell.h
//  ShowYork
//
//  Created by hxh on 2021/5/17.
//  Copyright © 2021 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VoiceReadPlayerItemModel.h"
NS_ASSUME_NONNULL_BEGIN


@protocol VoiceReadItemCellDelegate <NSObject>

@optional
- (void)continueWithCurrentModel:(VoiceReadPlayerItemModel *)itemModel;
- (void)pauseWithCurrentModel:(VoiceReadPlayerItemModel *)itemModel;
- (void)playWithCurrentModel:(VoiceReadPlayerItemModel *)itemModel;
@end

@interface VoiceReadItemCell : UITableViewCell
@property (nonatomic,strong)VoiceReadPlayerItemModel *itemModel;
@property (nonatomic,weak)id<VoiceReadItemCellDelegate>delegate;
+(instancetype)cellWithTableView:(UITableView *)tableView;
@end

NS_ASSUME_NONNULL_END
